package com.rytx;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author rytx
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableCreateCacheAnnotation
@EnableMethodCache(basePackages = "com.rytx")
public class RytxApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RytxApplication.class, args);
        System.out.println("启动成功\n" +
                "__________  _____.___. ___________ ____  ___\n" +
                "\\______   \\ \\__  |   | \\__    ___/ \\   \\/  /\n" +
                " |       _/  /   |   |   |    |     \\     / \n" +
                " |    |   \\  \\____   |   |    |     /     \\ \n" +
                " |____|_  /  / ______|   |____|    /___/\\  \\\n" +
                "        \\/   \\/                          \\_/");





    }
}

